Interruptible Critical Sections

نویسندگان

  • Theodore Johnson
  • Krishna Harathi
چکیده

We present a new approach to synchronization on uniprocessors with special applicability to embedded and real-time systems. Existing methods for synchronization in real-time systems are pessimistic, and use blocking to enforce concurrency control. While protocols to bound the blocking of high priority tasks exist, high priority tasks can still be blocked by low priority tasks. In addition, these protocols require a complex interaction with the scheduler. We propose interruptible critical sections (i.e., optimistic synchronization) as an alternative to purely blocking methods. Practical optimistic synchronization requires techniques for writing interruptible critical sections, and system support for detecting critical section access connicts. We discuss our implementation of an interruptible lock on a system running the pSOS+ real time operating system. Our experimental performance results show that interruptible locks reduce the variance in the response time of the highest priority task with only a small impact on the performance of the low priority tasks. We show how interruptible critical sections can be combined with the Priority Ceiling Protocol, and present an analysis which shows that interruptible locks improve the schedulability of task sets that have high priority tasks with tight deadlines.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Interruptible collision detection for deformable objects

This paper presents an approach to performing time-critical collision detection for deformable objects. The deformable objects are represented by dense meshes and their deformations are steered by a coarser mesh (reduced model) based on explicit finite elements, to achieve an interruptible algorithm, we use a sphere tree constructed using an adaptive medial-axis approximation of the dense mesh....

متن کامل

Unit Commitment Considering Position of Interruptible Load in Energy and Reserve Simultaneous Market

In this paper security constrained unit commitment (SCUC) is employed for simultaneous clearing of energy and reserve markets. Spinning reserve of production units and interruptible loads (IL) are used as system operation reserve. Some restrictions on the use of interruptible loads, such as maximum load curtailed, maximum curtailment hour in a day, maximum length of each curtailment are also co...

متن کامل

On Interruptible Pure Exploration in Multi-Armed Bandits

Interruptible pure exploration in multi-armed bandits (MABs) is a key component of Monte-Carlo tree search algorithms for sequential decision problems. We introduce Discriminative Bucketing (DB), a novel family of strategies for pure exploration in MABs, which allows for adapting recent advances in non-interruptible strategies to the interruptible setting, while guaranteeing exponential-rate pe...

متن کامل

Interruptible Critical Sections for Real-time Systems

In this paper, we present a new approach to synchronization in real-time systems. Existing methods for synchronization in real-time systems are pessimistic, and use blocking to enforce concurrency control. Protocols such as the priority ceiling protocol have been proposed to reduce the priority inversion that occurs when low priority tasks block high priority tasks. However, the priority ceilin...

متن کامل

Interruptible Electricity Contracts from an Electricity Retailer's Point of View: Valuation and Optimal Interruption

We consider interruptible electricity contracts issued by an electricity retailer that allow for interruptions to electric service in exchange for either an overall reduction in the price of electricity delivered or for financial compensation at the time of interruption. We provide an equilibrium model to determine electricity prices based on stochastic models of supply and demand. In the conte...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994